package org.csu.mypetstore.api.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.math.BigDecimal;

@Data
@TableName("carttotals")
public class CartTotal {
    @TableId(value = "userid",type = IdType.INPUT)
    private String userid;
    @TableField("carttotal")
    private BigDecimal cartTotalPrice;
}
